Adding an Origin
You can have multiple origins in your service. Each origin is defined by hostname or IP address, along with additional properties which can be defined.
To add an origin to your service:
- Navigate to your service.
- On the sidebar, choose Origins.
- Click on the Create button.
- Fiil the new origin form:
- Origin Address - Hostname of IP address of your origin server.
- Protocol - The protocol to be used between the CDN and your origin server.
- Path (Optional) - Path to be used when accessing the origin server. The default path is
/
. For example, if you set the orign path to/a/
and an end-user tries to accesshttps://www.example.com/test.html
, then the following file will be retrieved from your origin:/a/test.html
. - S3 - Check this box if your origin server is a S3 bucket (AWS S3 bucket, Google storage bucket, etc).
- Click on Save
Once created, the new origin will show up in the list of origins. You can then navigate to the Domains tab, to configure a Domain Mapping for this origin.
Note: Traffic will not be routed to the new origin if domain mapping is not defined for it.